package com.mrzhou.core.tool.constants;

/**
 * 与Token相关的常量类
 */
public interface TokenConstant {
    /** token签名 */
    String SIGN_KEY = "MrZhouCloud";
    String TOKEN_HEADER_NAME = "Cloud-Auth";
    String TOKEN_PARAM_NAME = "cloud_auth";
    String TENANT_ID_HEADER = "tenant-id";
    String TENANT_ID_PARAM = "tenant_id";
    String BEARER = "bearer";
    String ACCESS_TOKEN = "access_token";
    String REFRESH_TOKEN = "refresh_token";
    String TOKEN_TYPE = "token_type";
    String EXPIRES_IN = "expires_in";
    String CLIENT_ID = "client_id";
    String USER_ID = "user_id";
    String ACCOUNT = "account";
    String NAME = "name";
    String REAL_NAME = "real_name";
    String AVATAR = "avatar";
    String PHONE = "phone";
    String EMAIL = "email";
    String ROLE_ID = "role_id";
    String ROLE_NAME = "role_name";
    String DEPT_ID = "dept_id";
    String AUTH_CODE = "auth_code";
    String DEFAULT_AVATAR = "";

    String CLIENT_SECRET = "client_secret";

}
